import React  from 'react'
import * as StringUtils from '../public/js/stringUtils'
import PropTypes from 'prop-types';

class DataTable extends React.Component {

    constructor(props) {
        super(props)
    }

    render() {
        return (
            <div className="row">
                <div className="col-12">
                    <div className="card">
                        <div className="card-body">
                            <div className="card-title">
                                {this.props.title}
                            </div>
                            <div className="table-responsive">
                                {this.props.children}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        )
    }
}
export default DataTable